<template>
  <div class="activity_detailed">
    <div class="activity_detailed_up">
      <span>{{ activity_detailed.title }}</span>
      <div>
        <span>{{ activity_detailed.name }}</span>
        <span>{{ activity_detailed.date }}</span>
        <span>{{ activity_detailed.time }}</span>
      </div>
    </div>
    <p class="activity_detailed_text">{{ activity_detailed.text }}</p>
    <div class="Reading_volume">
      阅读{{ activity_detailed.Reading_volume }}次
    </div>
  </div>
</template>

<script>
export default {
  props: {},
  components: {},
  data() {
    return {
      index: "",
      activity_detailed: {
        title: "这是活动标题…………",
        name: " ",
        date: "2022-05-05",
        time: "17:00",
        Reading_volume: 1234,
        text: "这是正文",
      },
    };
  },
  methods: {},
  created() {
    this.index = JSON.parse(
      window.sessionStorage.getItem("Activity_Detail_Page_index")
    );
    console.log(this.index);
  },
};
</script>

<style lang="less">
.activity_detailed {
  width: 98%;
  display: flex;
  flex-direction: column;
  overflow: auto;
  height: 864px;

  //   background-color: rgb(105, 3, 3);
}
.activity_detailed::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #fff;
}
.activity_detailed::-webkit-scrollbar {
  width: 6px;
}
.activity_detailed:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
}

.activity_detailed_up {
  width: 300px;
  display: flex;
  flex-direction: column;
  height: 100px;
  margin: 0px auto;
  span {
    font-size: 30px;
    font-weight: bold;
  }
  div {
    flex-direction: row;
    margin-top: 20px;
    span {
      font-weight: normal;
      margin: 0px 10px;
      font-size: 20px;
    }
  }
}
.activity_detailed_text {
  width: 90%;
  margin: 0px auto;
  font-size: 20px;
}
.Reading_volume {
  width: 90%;
  margin: 30px auto;
  height: 40px;
}
</style>